import Link from 'next/link'

export default function NotFound() {
  return (
    <div className="min-h-screen bg-gray-50 flex items-center justify-center">
      <div className="max-w-md w-full text-center">
        <div className="mb-8">
          <h1 className="text-6xl font-bold text-gray-900 mb-4">404</h1>
          <h2 className="text-2xl font-semibold text-gray-700 mb-2">工具未找到</h2>
          <p className="text-gray-600">
            抱歉，您访问的工具不存在或已被删除。
          </p>
        </div>
        
        <div className="space-y-4">
          <Link
            href="/"
            className="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500"
          >
            返回首页
          </Link>
          
          <div className="text-sm text-gray-500">
            或者 <Link href="/admin" className="text-blue-600 hover:text-blue-500">访问管理后台</Link>
          </div>
        </div>
      </div>
    </div>
  )
}
